package com.candy.candymember.config;

import com.candy.candymember.domain.Member1;
import com.candy.candymember.domain.Member7FactoryBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author suYanLong
 * @version 1.0
 * @date 2023/4/25 17:27
 * @Description 描述
 */
@Configuration
public class BeanConfig {

    @Bean
    public Member1 member1() {
        return new Member1();
    }

    @Bean
    public Member7FactoryBean member7() {
        return new Member7FactoryBean();
    }

}
